<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <div class="box">
        <span>name：{{name}}</span>
    </div>
</body>
<script src="https://lib.baomitu.com/vue/2.7.7/vue.js"></script>
<script>
    
    const vm = new Vue({
        el:".box",
        data:{
            name:"admin"
        }
    })

    vm.name = "root";

</script>
</html>